/**
* 版权声明：厦门睿商网络科技有限公司 版权所有 违者必究
* 日    期：2020-04-07
*/
package com.rzico.basics.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * <pre>
 *   二维码数据库对象
 * </pre>
 * @author Rzico Boot
 * @version 1.0
 */
@Data
@JsonIgnoreProperties(value = {"handler"})
@JsonInclude(JsonInclude.Include.NON_NULL)
@Table(name = "wx_qrcode")
public class Qrcode{
    @Id
    @ApiModelProperty(value = "" )
    protected Long id;

    @ApiModelProperty(value = "创建日期" )
    protected Date createDate;

    @ApiModelProperty(value = "修改日期" )
    protected Date modifyDate;

    @ApiModelProperty(value = "编码" )
    protected String code;

    @ApiModelProperty(value = "内容" )
    protected String q;

    @ApiModelProperty(value = "绑定会员" )
    protected Long memberId;

    @ApiModelProperty(value = "类型 {0:活动码,1:订水码}" )
    protected Integer type;

    @ApiModelProperty(value = "状态 {0:未使用,1:已使用}" )
    protected Integer status;

    @ApiModelProperty(value = "使用日期" )
    protected Date usedDate;

    @ApiModelProperty(value = "扫码活动" )
    protected Long promotionId;

    @ApiModelProperty(value = "所属企业" )
    protected Long enterpriseId;


}
